import 'package:ai/AppRouter.gr.dart';
import 'package:auto_route/auto_route.dart';

@AutoRouterConfig()
class AppRouter extends RootStackRouter {
  @override
  List<AutoRoute> get routes => [
        CustomRoute(
          initial: true,
          page: MainRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: AboutRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: ChatRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: ConnectRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: TextCreateRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: SearchRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: LoginRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: RechargeRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: RecordRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: SettingRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: WebViewRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: ComplaintRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: TextWriteRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: TextWriteRecord.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: TextRecordDetail.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
        CustomRoute(
          page: ChatMessageRoute.page,
          transitionsBuilder: TransitionsBuilders.zoomIn,
          durationInMilliseconds: 100,
          reverseDurationInMilliseconds: 100,
        ),
      ];
}
